package com.hd.appcommon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hd.appcommon.entity.RolePrivilege;

import java.util.List;

/**
 * <p>
 * 角色关联权限 服务类
 * </p>
 *
 * @author administrator
 * @since 2020-11-30
 */
public interface IRolePrivilegeService extends IService<RolePrivilege> {

    List<RolePrivilege> listByPrivilegeId(String privilegeId);

    List<RolePrivilege> listByRoleId(String roleId);

    boolean removeByPrivilegeId(String privilegeId);
}
